#!/usr/bin/env node

console.log('process  id:', process.pid);

process.stdin.resume();

process.on('SIGINT', function () {
    console.log('your press ctrl+C,good bye.');
    process.exit(0);
});

process.on('SIGTSTP', function () {
    console.log('you press ctrl+Z,stop running.');
});